package com.example.chat.service

import androidx.annotation.WorkerThread
import com.example.chat.model.Topic
import com.example.featuresdk.vo.Resource
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path

@WorkerThread
interface TopicService {

    @GET("topic/{userId}/list")
    fun getTopics(@Path("userId") userId: Long): Call<Resource<List<Topic>>>
}